# -*- coding: utf-8 -*-
# This is a sample Python script.
import threading

from modules.http import listen_http
from modules.tcp import listen_tcp

# Press the green button in the gutter to run the script.
if __name__ == '__main__':
    # thread_a = threading.Thread(target=lambda: listen_http(16530))
    thread_b = threading.Thread(target=lambda: listen_tcp(8848))
    # thread_a.start()
    thread_b.start()
    # thread_a.join()
    thread_b.join()


# See PyCharm help at https://www.jetbrains.com/help/pycharm/
